package com.imooc.xunwu.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Auther: hyr
 * @Date: 2018/11/6 09:39
 * @Description:
 */
@Configuration
public class SenderConfig {

    @Bean
    public Queue queue() {
        return new Queue("house_build");
    }
}
